/*
 * Copyright (c) 2009.
 * nick@tmro.net
 */
package net.tmro.loko.ejb.dao;

import net.tmro.loko.domain.category.Category;

import java.util.Date;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: nick
 * Date: Mar 24, 2009
 * Time: 2:27:49 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CategoryDao extends Dao<Long, Category> {

    /**
     * Finds and returns all the categories that have been created since the date specified
     *
     * @param dateSince inclusive start date to filter from
     * @return a list of categories. If nothing found this list will be empty.
     */
    List<Category> findNewCategories(Date dateSince);
}